import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import Heard from '@/components/Heard/index.vue'
import Footer from '@/components/Footer/index.vue'
import Fixed from '@/components/Fixed/index.vue'
import Mask from '@/components/Mask/index.vue'
import pinia from './store'
import '@/styles/reset.css'
import './assets/style/iconfont.css'
import directivePlugin from './pages/Dvd/lazyload'

const app = createApp(App)

app.component('Heard', Heard)
app.component('Footer', Footer)
app.component('Fixed', Fixed)
app.component('Mask', Mask)

app.use(router).use(directivePlugin).use(pinia).mount('#app')
